<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Editor GUI Table: EditorGUITable.TableCell Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Logo_rounded.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Editor GUI Table
   &#160;<span id="projectnumber">2.1.1</span>
   </div>
   <div id="projectbrief">Allows programmers to easily create customizable tables in Unity Editor</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_editor_g_u_i_table_1_1_table_cell.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_editor_g_u_i_table_1_1_table_cell-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">EditorGUITable.TableCell Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Base class for all table cells. DrawCell needs to be overriden to draw the cell. Use this to customize the table however needed. CompareTo can be overriden to customize the sorting. comparingValue is used as a fallback for sorting any types of cells, even different types.  
 <a href="class_editor_g_u_i_table_1_1_table_cell.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for EditorGUITable.TableCell:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_editor_g_u_i_table_1_1_table_cell.png" usemap="#EditorGUITable.TableCell_map" alt=""/>
  <map id="EditorGUITable.TableCell_map" name="EditorGUITable.TableCell_map">
<area href="class_editor_g_u_i_table_1_1_action_cell.html" title="This cell class draws a button which, when clicked, will trigger the action given in the constructor..." alt="EditorGUITable.ActionCell" shape="rect" coords="0,112,171,136"/>
<area href="class_editor_g_u_i_table_1_1_label_cell.html" title="This cell class draws a string as a label. This is useful for properties you want to display in the t..." alt="EditorGUITable.LabelCell" shape="rect" coords="181,112,352,136"/>
<area href="class_editor_g_u_i_table_1_1_object_cell.html" title="This entry class just uses EditorGUILayout.ObjectField to draw a given property. " alt="EditorGUITable.ObjectCell" shape="rect" coords="362,112,533,136"/>
<area href="class_editor_g_u_i_table_1_1_property_cell.html" title="This cell class just uses EditorGUILayout.PropertyField to draw a given property. This is the basic w..." alt="EditorGUITable.PropertyCell" shape="rect" coords="543,112,714,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acde303a222d8836ac9af2d7def5726b8"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_editor_g_u_i_table_1_1_table_cell.html#acde303a222d8836ac9af2d7def5726b8">DrawCell</a> (Rect rect)</td></tr>
<tr class="memdesc:acde303a222d8836ac9af2d7def5726b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the cell using GUI (without GUILayout).  <a href="#acde303a222d8836ac9af2d7def5726b8">More...</a><br /></td></tr>
<tr class="separator:acde303a222d8836ac9af2d7def5726b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e57e89a921387ce38bd89d1d3b108de"><td class="memItemLeft" align="right" valign="top"><a id="a3e57e89a921387ce38bd89d1d3b108de"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>CompareTo</b> (object other)</td></tr>
<tr class="separator:a3e57e89a921387ce38bd89d1d3b108de"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0b41a222ea6e9d4c7f6b83ef0ed5da0e"><td class="memItemLeft" align="right" valign="top"><a id="a0b41a222ea6e9d4c7f6b83ef0ed5da0e"></a>
static string&#160;</td><td class="memItemRight" valign="bottom"><b>GetPropertyValueAsString</b> (SerializedProperty sp)</td></tr>
<tr class="separator:a0b41a222ea6e9d4c7f6b83ef0ed5da0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2f26e4db25a7ac0958f555d1281bdf4"><td class="memItemLeft" align="right" valign="top"><a id="ae2f26e4db25a7ac0958f555d1281bdf4"></a>
static int&#160;</td><td class="memItemRight" valign="bottom"><b>CompareTwoSerializedProperties</b> (SerializedProperty sp1, SerializedProperty sp2)</td></tr>
<tr class="separator:ae2f26e4db25a7ac0958f555d1281bdf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:aec835e78158a8d06770bf59bcd3d7316"><td class="memItemLeft" align="right" valign="top"><a id="aec835e78158a8d06770bf59bcd3d7316"></a>
abstract string&#160;</td><td class="memItemRight" valign="bottom"><b>comparingValue</b><code> [get]</code></td></tr>
<tr class="separator:aec835e78158a8d06770bf59bcd3d7316"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class for all table cells. DrawCell needs to be overriden to draw the cell. Use this to customize the table however needed. CompareTo can be overriden to customize the sorting. comparingValue is used as a fallback for sorting any types of cells, even different types. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="acde303a222d8836ac9af2d7def5726b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acde303a222d8836ac9af2d7def5726b8">&#9670;&nbsp;</a></span>DrawCell()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract void EditorGUITable.TableCell.DrawCell </td>
          <td>(</td>
          <td class="paramtype">Rect&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Draws the cell using GUI (without GUILayout). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rect</td><td>Rect.</td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="class_editor_g_u_i_table_1_1_property_cell.html#abb521be9248f97fdcfaf01f75789a08b">EditorGUITable.PropertyCell</a>, <a class="el" href="class_editor_g_u_i_table_1_1_label_cell.html#a6e96d902de19ab7fb06e9eb871fddc08">EditorGUITable.LabelCell</a>, <a class="el" href="class_editor_g_u_i_table_1_1_object_cell.html#ace9239d7bb2ba3a12a8897f16b9a3944">EditorGUITable.ObjectCell</a>, and <a class="el" href="class_editor_g_u_i_table_1_1_action_cell.html#afa08dc17985b653476271bafd6efbe9e">EditorGUITable.ActionCell</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/Users/jquentin/Documents/Projects/EditorGUITable/Assets/GUITable/Code/Editor/Cells/TableCell.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_editor_g_u_i_table.html">EditorGUITable</a></li><li class="navelem"><a class="el" href="class_editor_g_u_i_table_1_1_table_cell.html">TableCell</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
